package com.igeekhome.wzgl.service.impl;

import com.igeekhome.wzgl.entity.MaterialInboundEntity;
import com.igeekhome.wzgl.mapper.IMaterialInboundMapper;
import com.igeekhome.wzgl.service.IMaterialInbound;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaterialInboundImpl implements IMaterialInbound {
    @Autowired
    private IMaterialInboundMapper iMaterialInboundMapper;
    @Override
    public List<MaterialInboundEntity> page() {return iMaterialInboundMapper.page();}
    @Override
    public int insert(MaterialInboundEntity mi) {
        return iMaterialInboundMapper.insert(mi);
    }
    @Override
    public int delete(int id){return iMaterialInboundMapper.delete(id);}
    @Override
    public int update(MaterialInboundEntity mi){return iMaterialInboundMapper.update(mi);}
    @Override
    public List<MaterialInboundEntity> select(int id){return iMaterialInboundMapper.select(id);}
    @Override
    public MaterialInboundEntity getById(int id){return iMaterialInboundMapper.getById(id);}

}
